<template>
  <h3> 组件事假</h3>
  <Child @someEvent="getHandle" />
  <p>父元素{{ message }}</p>
</template>

<script>
import Child from './Child.vue'
export default {

  data() {
    return {
      message: ""
    }
  },
  components: {
    Child
  }
  , methods: {
    getHandle(data) {
      console.log("出发了", data);
      this.message = data
    }
  }
}

</script>